package com.dkh.recommend.service;

import com.dkh.recommend.dto.LoginFormDTO;
import com.dkh.recommend.dto.PasswordDTO;
import com.dkh.recommend.dto.Result;
import com.dkh.recommend.entity.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dkh
 * @since 2022-12-14
 */
public interface ITbUserService extends IService<TbUser> {

    Result login(LoginFormDTO loginform);

    Result register(TbUser tbUser);

    Result updateUser(TbUser tbUser);

    Result getUserById(String id);

    Result getMyAllInfoById2();

    Result UpdatePassword(PasswordDTO passwordDTO);

    Result OutLogin(String token);
}
